/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.yuanliaocangku.entity;

import org.hibernate.validator.constraints.Length;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * js_yuanliaocangkuEntity
 * @author 达芬奇
 * @version 2019-10-05
 */
@Table(name="${_prefix}yuanliaocangku", alias="a", columns={
		@Column(name="id", attrName="id", label="个人库编号", isPK=true),
		@Column(name="uid", attrName="uid", label="用户编号"),
	}, orderBy="a.id DESC"
)
public class Yuanliaocangku extends DataEntity<Yuanliaocangku> {
	
	private static final long serialVersionUID = 1L;
	private String uid;		// 用户编号
	
	public Yuanliaocangku() {
		this(null);
	}

	public Yuanliaocangku(String id){
		super(id);
	}
	
	@Length(min=0, max=255, message="用户编号长度不能超过 255 个字符")
	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
	
}